package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2018-04-04
 */
@TableName("workflow_execute")
public class WorkflowExecute implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 关联工作流表
	 */
	@TableField(value="workflow_id")
	private Integer workflowId;

	/**
	 * 关联工作流节点
	 */
	@TableField(value="workflow_node_id")
	private Integer workflowNodeId;

	/**
	 * 所属资源库
	 */
	@TableField(value="classes_en")
	private String classesEn;

	/**
	 * 资源id
	 */
	@TableField(value="resource_id")
	private String resourceId;

	/**
	 * 执行结果（0-执行通过 1-未通过）
	 */
	private Integer status;

	/**
	 * 执行原因
	 */
	private String reason;

	/**
	 * 创建人
	 */
	@TableField(value="create_user")
	private String createUser;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getWorkflowId() {
		return workflowId;
	}

	public void setWorkflowId(Integer workflowId) {
		this.workflowId = workflowId;
	}

	public Integer getWorkflowNodeId() {
		return workflowNodeId;
	}

	public void setWorkflowNodeId(Integer workflowNodeId) {
		this.workflowNodeId = workflowNodeId;
	}

	public String getClassesEn() {
		return classesEn;
	}

	public void setClassesEn(String classesEn) {
		this.classesEn = classesEn;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

}
